<?php
/**
 * Created by PhpStorm.
 * User: 35083
 * Date: 2019/7/15
 * Time: 9:49
 */

namespace app\task\controller;

use think\console\Command;
use think\console\Input;
use think\console\Output;

class QueueTask extends Command
{
    protected function configure()
    {
        $this->setName('QueueTask')->setDescription('Here is the remark ');
    }

    protected function execute(Input $input, Output $output)
    {
       $model = new \app\admin\model\Log();
       $model->save(array('user'=>111121));
    }
}